package com.dubbo.demo;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * Created by dkt on 2017/11/09.
 */
public class DemoProviderMain {

    public static void main(String [] args) throws IOException {

        //加载文件
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath:app-context.xml");

        System.out.println("启动Provider");
        System.in.read();
        System.out.println("结束Provider");
    }

}
